package innerclass;

import static net.mindview.util.Print.*;

public class AnonymousConstructor {
    public static Base getBase(int i){
        return new Base(i) {
            {print("Inside instance initializer");}
            @Override
            public void f() {
                print("In annoymous f()");
            }
        };
    }

    public static void main(String[] args) {
        Base base=getBase(57);
        base.f();
    }
}
